package com.elite.dao;

import com.elite.entity.Goods;

import java.util.List;

public interface GoodsMapper {
    int deleteByPrimaryKey(Integer goodsId);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer goodsId);

    List<Goods> selectByGoodsName(String goodsName);

    List<Goods> selectByGoodCategory(String goodCategory);

    List<Goods> selectBySellerId(Integer sellerId);

    List<Goods> selectGoods();

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
}